package dao;

import java.util.List;

import pojo.Merchant;
import pojo.MerchantClient;
import pojo.MerchantDto;

public interface MerchantDao extends BaseDao<Merchant> {

	public List<MerchantClient> findByType(String type, List<MerchantDto> correctMerchants);
	public List<MerchantClient> findByTypePage(int current, int pageSize, String type, List<MerchantDto> correctMerchants);
	public int getCount(String type, List<MerchantDto> correctMerchants);
	public List<Merchant> selectPage(int current, int pageSize);
}
